package com.dnzx.dao;

import com.dnzx.model.BannerBO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
* 网页横幅Dao
 */
@Repository
public interface IBannerDao {

	public void save(BannerBO bannerBO);

	public void delete(Long id);

	public void update(BannerBO bannerBO);

	public BannerBO get(Long id);

	public List<BannerBO> queryList(BannerBO bannerBO);

	public List<BannerBO> queryPage(@Param("pageSize") int pageSize,
                                  @Param("startRow") int startRow, @Param("bo") BannerBO bo);
	
	public int queryCount(BannerBO bannerBO);

}
